﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
    <link rel="stylesheet" type="text/css" href="{$Think.const.HOME_CSS_URL}formui.css" />
    <link rel="stylesheet" type="text/css" href="{$Think.const.HOME_CSS_URL}admin-all.css" />
    <link rel="stylesheet" type="text/css" href="{$Think.const.HOME_CSS_URL}base.css"/>
    <script type="text/javascript" src="{$Think.const.HOME_JS_URL}jquery-1.7.2.js"></script>
    <script type="text/javascript" src="{$Think.const.HOME_JS_URL}jquery-ui-1.8.22.custom.min.js"></script>
    <link rel="stylesheet" type="text/css" href="{$Think.const.HOME_CSS_URL}ui-lightness/jquery-ui-1.8.22.custom.css" />
    
    <style type="text/css">
        .auto-style1 {
            height: 26px;
        }
    </style>
</head>
<body>
    <div class="alert alert-info">当前位置<b class="tip"></b>开发计划管理<b class="tip"></b>开发计划列表</div>
<!-- 搜索 -->
<div class="alert alert-info">
    <form method="GET" name="search_form">
		<p>
			客户名称：
	   		<input type="text" name="client_name" size="30" value="" />
		<input type="submit" value=" 搜索 " class="btn" id="Button3" />&nbsp;&nbsp;
			概要：
	   		<input type="text" name="outline" size="30" value="" />
		<input type="submit" value=" 搜索 " class="btn" id="Button3" />&nbsp;&nbsp;
			联系人名称：
	   		<input type="text" name="contact_name" size="30" value="" />
		<input type="submit" value=" 搜索 " class="btn" id="Button3" /></p>
    </form>
    
</div>
    <table class="tb" id="top">
        <thead>
            <tr >
                <th >编号</th>
                <th >客户名称</th>
                <th >概要</th>
                <th >联系人</th>
                <th >联系人电话</th>
                <th >指派时间</th>
                <th >指派对象</th>
                <th >状态</th>
                <th width="60">开发计划操作</th>
            </tr>
        </thead>
        <tbody>

            <volist name='data' id='v'>
            <if condition="$v['status']=='1'|$v['status']=='2'|$v['status']=='3'">
			<tr class="tron">
				<td>{$v['id']}</td>
				<td>{$v['client_name']}</td>
				<td>{$v['outline']}</td>
				<td>{$v['contact_name']}</td>
				<td>{$v['contact_phone']}</td>
				<td>{$v['give_time']|date=\"Y-m-d H:i:s\",###}</td>
				<td>{$v['give_name']}</td>
				<td>{$status_str[$i-1]}</td>
		        <td align="center">
                            <if condition ="$v['status']=='1'">
		        	<a class="btn" id="Button3" href="{:U('add',array('id'=>$v['id'],'p'=>$p))}" title="制定">制定</a> 
		        	<a class="btn" id="Button3" href="{:U('goOpen',array('id'=>$v['id'],'p'=>$p))}" title="执行">执行</a> 
                            <else/>
		        	<a class="btn" id="Button3" href="{:U('haveLook',array('id'=>$v['id'],'p'=>$p))}" title="查看详情">查看详情</a>
                            </if>
		        </td>
	        </tr>
            </if>
            </volist>
		<if condition="(preg_match('/\d/', $page))">  
                <tr><td align="right" nowrap="true" colspan="99" height="30">{$page}</td></tr> 
                </if> 

        </tbody>

    </table>
</body>
</html>
